package com.server;import org.springframework.amqp.core.Queue;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;/** * Description: * Company:HK * author: Sam * date:  2016/11/15 18:15 */@Configurationpublic class RabbitConfig {    @Bean    public Queue helloQueue() {        return new Queue("msgQueue");    }}